#ifndef SETTINGS_H
#define SETTINGS_H

#include <QWidget>
#include "authorization.h"
#include "direct.h"
#include "fstream"
#include "QSettings"

namespace Ui {
class Settings;
}

class Settings : public QWidget
{
    Q_OBJECT

public:
    explicit Settings(QWidget *parent = nullptr);
    ~Settings();

private slots:
    void on_pushButton_clicked();
    void on_checkBox_clicked(bool checked);

private:
    Ui::Settings *ui;
    Authorization *authorization;
    QSettings *setting;
};

#endif // SETTINGS_H
